package cn.codeforfun.service;

import cn.codeforfun.bean.Seckill;
import cn.codeforfun.mapper.more.MoreSeckillMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by P0015475 on 2016/7/7.
 */
@Service
public class SeckillService {
    @Autowired
    private MoreSeckillMapper moreSeckillMapper;

    public List<Seckill> list() {
        return moreSeckillMapper.list();
    }
}
